<?php
/*+++++++++++积分相关操作++++++++++++++++*/
$api->group(['namespace' => 'Announce'], function ($api){
    $api->get('topSix', 'AnnounceController@topSix');//首页最新六条记录
    $api->get('detAnnounce/aid/{aid}', 'AnnounceController@det');//公告详情
    $api->get('listAnnounce', 'AnnounceController@index');//公告列表
});



